import React, { Component } from "react";
import styles from "./SearchInput.module.scss";
import { withRouter } from "react-router-dom"
function SearchInput(props) {
  return (
    <div className={styles.searchInput} onClick={() => {
      props.history.push("searchCenter")
    }}>
      <div className={styles.searchInputContent}>搜索</div>
    </div>
  );
}
export default withRouter(SearchInput);
